<?php
require $this->__RAD__ . 'include/head.php';
?>
<body>

<?php
require $this->__RAD__ . 'include/header.php';
?>

<div class="news brand" style="background:url(<?= $this->__STATIC__ ?>/images/bg03.jpg) no-repeat center center;">
    <div class="news-con01" id="item1">
        <div class="tit">企业新闻</div>
        <p class="p">不断追求品牌的<b>创新与突破</b>,打造麻辣烫独特饮食文化</p>
        <div class="news-tab">
            <a href="/news/21#item1" class="<?= $this->id == 21 ? 'cur' : '' ?>">门店动态</a>
            <a href="/news/23#item1" class="<?= $this->id == 23 ? 'cur' : '' ?>">媒体新闻</a>
        </div>
        <div class="news-con">
            <?php
            if ($this->currentListRs) :
            ?>
            <div class="wrapper">
                <ul class="clearfix">
                    <?php
                    foreach ($this->currentListRs as $val) :
                        ?>
                        <li class="clearfix">
                            <div class="pic"><a href="/news/detail/<?= $val->archives_id ?>"><img src="<?= $this->__CDN__ ?>pics/l/<?= $val->cover ?>"></a></div>
                            <div class="wenz">
                                <div class="date">
                                    <span><?= date("m-d", $val->release_date) ?></span>  <?= date("Y", $val->release_date) ?>
                                </div>
                                <h3><a href="/news/detail/<?= $val->archives_id ?>"><?= $val->title ?><font color="#005ca2"><?= $val->salary ?></font></a></h3>
                                <p><?= $val->synopsis ?></p>
                                <a href="/news/detail/<?= $val->archives_id ?>" class="more">MORE</a>
                            </div>
                        </li>
                        <?php
                    endforeach;
                    ?>
                </ul>
                <?php
                require $this->__RAD__ . 'include/getPages.php';
                ?>
            </div>
            <?php
            endif;
            ?>
        </div>
        <script>

            $.ajax({
                url:url,
                dataType:'json',
                type:"get",
                success:function(msg){
                    var str='<table cellpadding="5" cellspacing="5" border="1" >';
                    for(var i=0;i<msg['pagesize'];i++)
                        str+="<tr><td>"+msg[i]['id']+"</td><td>"+msg[i]['num']+"</td></tr>";
                    str+="</table>";
                    str+=msg['pageinfo'];
                    $('div').html(str);
                }
            });

        </script>
    </div>
    <div class="news-con02" id="item2">
        <?php
        if ($this->currentListRs2) :
        ?>
        <div class="wrapper">
            <div class="tit">加盟新闻</div>
            <p class="p">
                阿拉丁麻辣烫项目诚邀<b> 有志之士 </b>加盟,实现合作共赢
            </p>
            <ul>
                <?php
                foreach ($this->currentListRs2 as $val) :
                    ?>
                    <li class="clearfix">
                        <div class="date">
                            <font><?= date("d", $val->release_date) ?></font>
                            <?= date("M", $val->release_date) ?>
                        </div>
                        <div class="pic"><a href="/news/detail/<?= $val->archives_id ?>"><img src="<?= $this->__CDN__ ?>pics/l/<?= $val->cover ?>"></a></div>
                        <div class="wenz">
                            <h3><a href="/news/detail/<?= $val->archives_id ?>"><?= $val->title ?></a></h3>
                            <h4><?= date("Y年m月d日", $val->release_date) ?></h4>
                            <p>
                                简介：<?= $val->synopsis ?><br>
                                地址：<?= $val->mailbox ?>
                            </p>
                            <a href="/news/detail/<?= $val->archives_id ?>" class="more">MORE</a>
                        </div>
                    </li>
                    <?php
                endforeach;
                ?>
            </ul>
            <?php
            require $this->__RAD__ . 'include/getPages2.php';
            ?>
        </div>
            <?php
        endif;
        ?>
    </div>
</div>
<?php
require $this->__RAD__ . 'include/right.php';
?>


<?php
require $this->__RAD__ . 'include/footer.php';
?>


</body>
</html>
<script type="text/javascript" src="<?= $this->__STATIC__ ?>js/common.js"></script>